<%--
  Created by IntelliJ IDEA.
  User: 97416
  Date: 2022/2/7
  Time: 21:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <jsp:useBean id="people" class="com.flyu.pojo.People" scope="page"></jsp:useBean>
    <jsp:setProperty name="people" property="id" value="1"></jsp:setProperty>
    <jsp:setProperty name="people" property="name" value="飞龙"></jsp:setProperty>
    <jsp:setProperty name="people" property="age" value="15"></jsp:setProperty>
    <jsp:setProperty name="people" property="address" value="北京"></jsp:setProperty>

    id：<jsp:getProperty name="people" property="id"/>
    姓名：<jsp:getProperty name="people" property="name"/>
    年龄：<jsp:getProperty name="people" property="age"/>
    地址：<jsp:getProperty name="people" property="address"/>
</body>
</html>
